/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.check.checkabnormal.entity;

import com.jeeplus.modules.sys.entity.User;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 点检异常数据Entity
 * @author 刘明星
 * @version 2020-11-18
 */
@Data
public class CheckAbnormal extends DataEntity<CheckAbnormal> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="设备编码", align=2, sort=1)
	private String code;		// 设备编码
	@ExcelField(title="厂", align=2, sort=2)
	private String factory;		// 厂
	@ExcelField(title="设备编码", align=2, sort=3)
	private String equipmentCoding;		// 设备编码
	@ExcelField(title="异常区域", align=2, sort=4)
	private String warningArea;		// 异常区域
	@ExcelField(title="异常设备", align=2, sort=5)
	private String warningObject;		// 异常设备
	@ExcelField(title="异常信息", align=2, sort=6)
	private String warningInformation;		// 异常信息
	@ExcelField(title="异常等级", dictType="check_abnormal_level", align=2, sort=7)
	private String warningLevel;		// 异常等级
	@ExcelField(title="第一责任人", fieldType=User.class, value="firstUser.name", align=2, sort=8)
	private User firstUser;		// 第一责任人
	@ExcelField(title="工号", align=2, sort=9)
	private String userId;		// 工号
	@ExcelField(title="检修负责人员", align=2, sort=10)
	private String checkPeople;		// 检修负责人员
	@ExcelField(title="完成时间", align=2, sort=11)
	private String finishTime;		// 完成时间
	@ExcelField(title="任务状态", dictType="check_state", align=2, sort=12)
	private String taskStatus;		// 任务状态
	
	public CheckAbnormal() {
		super();
	}
	
	public CheckAbnormal(String id){
		super(id);
	}
}